<table class="lister">
<thead>
<tr><th colspan="6">Current Streak</th></tr>
<tr>
<td width="5%">League</td>
<td width="20%">Home</td>
<td width="40%" colspan="2">Handicap</td>
<td width="20%">Away</td>
<td width="20%">Status</td>
</tr>
</thead>

<tbody>
<% if local_assigns[:extra_bets] %>
<%= render :partial=>"bets/bet.fbml.erb",:collection=>extra_bets %>
<% end %>
<%= render :partial=>"bets/bet.fbml.erb",:collection=>bets.select{|b| b.win} %>
<%= render :partial=>"bets/bought_win.fbml.erb"%>
<%= render :partial=>"bets/bet.fbml.erb",:collection=>bets.select{|b| not b.win} %>
</tbody>
</table>
</br>